body{
	font-size: 14px;
	*{
		font-family: $ff;
	}
	a{
		text-decoration: none;
	}
	/* user-select: text !important;
	-webkit-user-select: text !important; */
	* {
		user-select: text !important;
	    -webkit-user-select: text !important
	}
}


ion-content{
	background: $bg;
}

h4.title{
	margin:15px 10px ;
	padding: 0 8px;
	font-size: 14px;
	line-height: 1;
	border-left: 3px solid $positive;
	font-weight: bold;
	small{
		font-size: 12px;
	}
}

h3.title{
	margin:0 0 10px;
	font-size: 18px;
	color: #999;
}
.spinner svg {
  width: 32px;
  height: 32px;
  stroke: $positive;
  fill: $positive;
}

.label{
	display:inline-block ;
	border-radius: 10px;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	padding: 3px 10px;
}

.avatar-box{
	text-align: center;
	padding: 20px 16px 0;
	img{
		@include circular(60px);
		border: 1px solid $borderColor;
	}
	h4{
		margin: 0 0 5px;
		font-size: 14px;
	}
	p{
		color: #999;
		margin-bottom: 5px;
	}
}
.bar-footer{
	.button{
		min-width: 80px;
	}
}
.button{
	&.icon:before{
		margin-right: 10px;
	}
}
.level{
	position: absolute;
	right: 10px;
	top: 0px;
	padding: 2px 5px;
	line-height: 1;
	border-radius: 0 0 2px 2px;
	color: #fff;
	font-size: 12px;
}
.explain-box{
	color: #673A06;
	border-bottom: 1px solid $borderColor;
	/* box-shadow: 1px 1px 5px rgba(#AC7750, .3); */
	h4{
		text-align: center;
		margin: 0 0 10px;
		color:$red;
	}
	ol{
		li{
			line-height: 1.6;
			font-size: 14px ;
		}

	}
}
.price{
	font-size: 18px;
	color: $red-500;
	vertical-align: middle;
	em{
		font-size: 14px;
		margin-right: 5px;
	}

}
.old-price{
	color: #999;
	margin-left: 10px;
	text-decoration: line-through;
	font-style: oblique;
	vertical-align: middle;
}

.list{
	.item{
		span.lb{
			display: inline-block;
			border-radius: 10px;
			font-size: 12px;
			color: #fff;
			background: #ccc;
			line-height: 1;
			padding: 2px 6px;
			margin-left: 3px;
		}
		&.item-button-right{
			.button{
				line-height: 28px;
				min-height: 26px;
				font-size: 14px;
			}
		}
	}
}

.goods-list{
	@include clearfix;
	background: #fff;
	li{
		float: left;
		width: 50%;
		border:solid $borderColor;
		border-width: 0 1px 1px 0;
		height: 160px;
		&:nth-child(even){
			border-right: none;
		}
		.img-box{
			display: block;
			text-align: center;
			color: #333;
			font-size: 12px;
			padding-top: 8px;
			img{
				display: block;
				margin: 0 auto;
				max-width: 100%;
				width: 75px;
				height: 75px;
			}
			&.activated{
				background-color: #eee;
			}
		}
		h2{
			color: #333;
			margin: 0;
			padding: 10px 8px 10px 5px;
			font-size: 12px;
			@include ellipsis;
		}
		.db-row{
			padding:0 80px 0 5px;
			position: relative;
			p{
				font-size: 12px;
				margin-bottom: 3px;
				color: #999
			}
			.button{
				position: absolute;
				right: 5px;
				top: 0;
				font-size: 12px;
				height: 24px;
				line-height: 22px;
				padding: 0 6px
			}
		}
		&.grid-box{
			position: relative;
			.grid-item{
				position: absolute;
				img{
					@include size(50px);
				}
				&:nth-child(1){
					left: 0;
					width: 100%;
					height: 65px;
					border-bottom: 1px solid $borderColor;
					.img-box{
						@include clearfix;
						@include ellipsis;
						text-align: left;
						line-height: 40px;
						padding-bottom: 7px;
						img{
							float: left;
							margin-right: 5px;
						}
					}
				}
				&:nth-child(2),
				&:nth-child(3){
					width: 50%;
					top: 65px;
					left: 0;
					bottom: 0;
				}
				&:nth-child(3){
					left: 50%;
					border-left: 1px solid $borderColor
				}
			}
		}

	}
}
.progress{
	height: 4px;
	background: #ECECEC;
	border-radius: 5px;
	.progress-bar{
		border-radius: 5px;
		background: $orange-300;
		height: 100%;
		max-width: 100%;
	}
}
.goods-col{
	border:solid $borderColor;
	border-width: 1px 0 0;
	position: relative;
	.lab{
		position: absolute;
		left: 0;
		top: 0;
		padding: 0 8px;
		color: #fff;
		font-size: 12px;
		height: 20px;
		line-height: 20px;
		z-index: 9999;
		&:after{
			content: "";
			position: absolute;
			width: 0;
			height: 0;
			border-width: 10px 5px;
			border-style: solid dashed dashed solid;
			top: 0;
			left: 100%;
		}
	}
	&.hot{
		border-color: $purple;
		.lab{
			background-color: $purple;
			&:after{
				border-color: $purple transparent transparent $purple;
			}
		}
	}
	&.new{
		border-color: $orange;
		.lab{
			background-color: $orange;
			&:after{
				border-color: $orange transparent transparent $orange;
			}
		}
	}
	&.all{
		border-color: $green;
		.lab{
			background-color: $green;
			&:after{
				border-color: $green transparent transparent $green;
			}
		}
	}
}
.cho-list{
	@include clearfix;
	margin: 0 -10px;
	li{
		float: left;
		margin:10px;
		height: 36px;
		min-width: 50px;
		text-align: center;
		position: relative;
		background-color: #fff;
		input{
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
			opacity: 0;
			z-index: 999;
		}
		label{
			padding: 0 15px;
			height: 100%;
			line-height: 32px;
			border:2px solid #ccc;
			color: #999;
			display: block;
			position: relative;
		}
		input:checked + label{
			border-color: $positive;
			color: $positive;
			&:after{
				content: "";
				position: absolute;
				bottom: 0;
				right: -1px;
				@include triangle(10px 10px, $positive transparent, down-right);

			}
		}
	}
}
.modal-backdrop{
	.modal-backdrop-bg{
		background: #000;
		@include transition(.3s);
		opacity: .5;
	}
	&.active{
		.modal-backdrop-bg{
			opacity: .5;
		}
	}
}

.modal-bottom{
	top: 50%;
	bottom: 0;
	min-height: 50%;
	overflow: visible;
}

.block-center{
	margin: 10px auto;
}
.foot-btn{
	padding: 5px 16px;
	.button-block{
		margin: 0;
	}
}

.goods-thum{
	img{
		position: absolute;
		@include size(60px);
		left: 20px;
		top: -25px;
		background-color: #fff;
		padding: 3px;
		border-radius: 3px;
		box-shadow: 0 0 3px rgba(#000, .2)
	}
}

.label-box{
	@include position(absolute,0 15px auto auto);
	font-size: 12px;
	color: #fff;
	width: 30px;
	text-align: center;
	line-height: 1.2;
	padding: 3px 0 6px;
	&:after{
		content: "";
	    position: absolute;
	    width: 0;
	    height: 0;
	    border-width: 4px 13px;
	    border-style: dashed dashed solid dashed;
	    border-color: transparent transparent #fff transparent;
	    bottom: 0;
	    left: 50%;
	    margin-left: -13px;
	}
}
.top-title{
	text-align: center;
	padding: 12px;
	h2{
		font-size: 14px;
		line-height: 1.6
	}
	p{
		font-size: 12px;
		color: #999;
		margin: 0;
	}
}
.lucky_list{
	@include clearfix;
	background-color: #fff;
	border-top: 1px solid #eee;
	padding: 10px;
	li{
		float: left;
		padding: 8px 5px;
		text-align: center;
		border-bottom: 1px solid $borderColor;
		color: #666
	}
	&.clum3 li{
		width: 33.333333333%
	}
	&.clum4 li{
		width: 25%
	}
}
